s = [[], [], [], [], []]
i = 0
while i < 5:  # 五名选手

    for j in range(3):  # 3名评委
        t = int(input(f'第{j + 1}名评委对第{i+1}名选手的评分为：'))
        s[i].append(t)
    i += 1

for i in s:
    sum = 0
    k = 1
    k+=1
    avg = 0
    for j in i:
        sum +=j
        avg = sum/3
    print(f'第{k}号选手平均评分为{avg}')